package club.xinghe.entity;

/**
 * 说明:专业实体
 *
 * @姚文斌
 * @create 2019-09-28 下午 4:47
 */
public class Zy {
    private int zId;//此专业的id
    private String zName;//此专业的名字
    private Yx yx;//所属院系

    //构造器

    public Zy() {
    }

    public Zy(int zId) {
        this.zId = zId;
    }

    public Zy(String zName) {
        this.zName = zName;
    }

    public Zy(String zName, Yx yx) {
        this.zName = zName;
        this.yx = yx;
    }

    public Zy(int zId, String zName, Yx yx) {
        this.zId = zId;
        this.zName = zName;
        this.yx = yx;
    }


    //setget方法


    public int getzId() {
        return zId;
    }

    public void setzId(int zId) {
        this.zId = zId;
    }

    public String getzName() {
        return zName;
    }

    public void setzName(String zName) {
        this.zName = zName;
    }

    public Yx getYx() {
        return yx;
    }

    public void setYx(Yx yx) {
        this.yx = yx;
    }
}
